package com.dayaokeji.rhythmschoolstudent.event;

/**
 * ********************************************************************
 * *  Created by Zeno on 2018/7/31
 * ********************************************************************
 * *  version 1.0
 * ********************************************************************
 * *  Copyright (C) dayaokeji.com 2018 -- 2020 All rights reserved.
 * ********************************************************************
 * *
 * ********************************************************************
 */
public class GroupEvent {

    private Type type;
    private long id;

    public GroupEvent(Type type, long id) {
        this.type = type;
        this.id = id;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public enum Type{
        EXIST,
        DELETE
    }
}
